package com.ruoyi.map.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 鱼饵管理对象 fh_map_fishbait
 * 
 * @author ruoyi
 * @date 2024-11-26
 */
@ApiModel(value = "FhMapFishbait",description = "鱼饵信息实体")
public class FhMapFishbait extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 鱼饵名称 */
    @ApiModelProperty("鱼饵名称")
    @Excel(name = "鱼饵名称")
    private String baitName;

    /** 鱼饵图片 */
    @ApiModelProperty("鱼饵图片")
    @Excel(name = "鱼饵图片")
    private String baitImage;

    /** 推荐鱼竿 */
    @ApiModelProperty("推荐鱼竿")
    @Excel(name = "推荐鱼竿")
    private String rod;

    /** 鱼饵简介 */
    @ApiModelProperty("鱼饵简介")
    @Excel(name = "鱼饵简介")
    private String baitProfile;

    /** 平均长度 */
    @ApiModelProperty("平均长度")
    @Excel(name = "平均长度")
    private String avgLength;

    /** 最大长度 */
    @ApiModelProperty("最大长度")
    @Excel(name = "最大长度")
    private String maxLength;

    /** 鱼饵重量 */
    @ApiModelProperty("鱼饵重量")
    @Excel(name = "鱼饵重量")
    private String baitWeight;

    /** 变种图片 */
    @ApiModelProperty("变种图片列表")
    @Excel(name = "变种图片列表")
    private String varietyImages;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBaitName(String baitName) 
    {
        this.baitName = baitName;
    }

    public String getBaitName() 
    {
        return baitName;
    }
    public void setBaitImage(String baitImage) 
    {
        this.baitImage = baitImage;
    }

    public String getBaitImage() 
    {
        return baitImage;
    }
    public void setRod(String rod) 
    {
        this.rod = rod;
    }

    public String getRod() 
    {
        return rod;
    }
    public void setBaitProfile(String baitProfile) 
    {
        this.baitProfile = baitProfile;
    }

    public String getBaitProfile() 
    {
        return baitProfile;
    }
    public void setAvgLength(String avgLength) 
    {
        this.avgLength = avgLength;
    }

    public String getAvgLength() 
    {
        return avgLength;
    }
    public void setMaxLength(String maxLength) 
    {
        this.maxLength = maxLength;
    }

    public String getMaxLength() 
    {
        return maxLength;
    }
    public void setBaitWeight(String baitWeight) 
    {
        this.baitWeight = baitWeight;
    }

    public String getBaitWeight() 
    {
        return baitWeight;
    }
    public void setVarietyImages(String varietyImages) 
    {
        this.varietyImages = varietyImages;
    }

    public String getVarietyImages() 
    {
        return varietyImages;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baitName", getBaitName())
            .append("baitImage", getBaitImage())
            .append("rod", getRod())
            .append("baitProfile", getBaitProfile())
            .append("avgLength", getAvgLength())
            .append("maxLength", getMaxLength())
            .append("baitWeight", getBaitWeight())
            .append("varietyImages", getVarietyImages())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
